package com.example.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private Integer uid;
    private String username;
    private String password;
    private void initUser(){
        System.out.println("学生对象初始化中---");
    }
    private void destoryUser(){
        System.out.println("学生对象销毁前调用，用于释放资源---");
    }
}
